package com.css.fxfzaqbz.modules.data.repository;


import com.css.fxfzaqbz.modules.data.entity.ImportantActivity;
import com.css.fxfzaqbz.modules.data.entity.Region;
import com.css.fxfzaqbz.modules.data.queryParams.ImportantActivityQueryParams;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

public interface ImportantActivityRepository {
    ImportantActivity updateImportantActivity(ImportantActivity importantActivity);
    ImportantActivity saveImportantActivity(ImportantActivity importantActivity);
    Map<String,Object> getAllImportantActivityParams(ImportantActivityQueryParams queryParams);
    ImportantActivity getImportantActivityById(String id);
    void deleteImportantActivitysById(List<String> ids, Timestamp timestamp, String userId);

    List<ImportantActivity> searchList(ImportantActivityQueryParams queryParams);

    ImportantActivity updateOpinionStatus(ImportantActivity importantActivity);

    void timedUpdateOpinionStatus();

    String getNewIAId(Timestamp startTimestamp, Timestamp endTimestamp);

    List<ImportantActivity> getAllActivity(String provinceId);

    void updateActivityEndStatus(Timestamp timestamp, String iaId);

    Map<String, Object> getAll(ImportantActivityQueryParams queryParams);

    List<String> getAllSiteName(String province,String city,String counties);

    List<String> getAllSiteName1(Region region);

    String getCodeByIaId(String iaId);

    Map<String, Object> getAllByRole(ImportantActivityQueryParams queryParams, String sql);
    // List<ActiveFaultData> getAll();
    //void importExcel(List<ActiveFaultData> elevations);
}
